app.controller("myCtrl", function(
		$scope, $location, $http, $timeout,
		$interval,
		myService
	) {
	$scope.citys = ["aa", "bb", "cc"] ;
	$scope.firstName = "Yang";
	$scope.lastName = "haoquan" ;
	$scope.color = "red";
	
	console.info($location.absUrl());
	
	$timeout(function () {
        console.info("延迟2秒执行...");
    }, 2000);
	
	$interval(function() {
		$scope.theTime = new Date() ;
	}, 1000);
	
	$http.get("tpls/main.html").then(function(response) {
		console.info(response.data) ;
	});
	
	$scope.aa = myService.myFunc("Yhaoquan") ; 
	
	
});

